<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	response.setHeader("Pragma","No-cache"); 
	response.setHeader("Cache-Control","no-cache"); 
	response.setDateHeader("Expires", 0); 
%>
<div class="other-words">
	<div class='words panel left'
		style='margin-right: 10px; width: 400px;'>
		<div class='panel-title'>常用促销词</div>
		<div class='panel-content' style='height:200px;overflow:auto;'>
			<s:iterator value='words'>
				<a href="#" title='点击添加到新标题' class='word'><s:property /></a>, 
			</s:iterator>
		</div>
	</div>
	<div class='custom-words panel left' style='width: 400px;'>
		<div class='panel-title'>自定义常用词<div class='right'><input name='customWord'/><button class='add'>添加</button></div></div>
		<div class='panel-content' style='width:100%;height:200px;overflow:auto;'>
			<s:iterator value='customWords'>
				<div class='word'>
					<a href="#" title='点击添加到新标题' class="word"><s:property /></a>
					<a href="#" class="delete-tool ui-icon ui-icon-circle-close" title="删除"></a>
					<span>,&nbsp;</span>
					<div class="clear"></div>
				</div>
			</s:iterator>
			<div class='clear'></div>
		</div>
	</div>
	<div class='clear'></div>
</div>
<script type="text/javascript" src="js/other-words.js"></script>